import { IsNotEmpty, IsString } from 'class-validator';

export class UpdateDepartmentDto {
  @IsString()
  @IsNotEmpty({ groups: ['create', 'update'], message: '学院名称' })
  name: string;

  @IsString()
  desc: string;
}
